Zip Trees

نویسندگان

چکیده

We introduce the zip tree , 1 a form of randomized binary search that integrates previous ideas into one practical, performant, and pleasant-to-implement package. A is in which each node has numeric rank (max)-heap-ordered with respect to ranks, ties broken favor smaller keys. Zip trees are essentially treaps [8], except ranks drawn from geometric distribution instead uniform distribution, we allow ties. These changes enable us use fewer random bits per node. perform insertions deletions by unmerging merging paths ( unzipping zipping ) rather than doing rotations, avoids some pointer improves efficiency. The methods take inspiration top-down approaches insertion deletion Stephenson [10], Martínez Roura [5], Sprugnoli [9]. From theoretical standpoint, this work provides two main results. First, require only O (log log n (with high probability) represent largest an -node tree; data structures for rank. Second, naturally isomorphic skip lists [7], simplify Dean Jones’ mapping between

برای دانلود باید عضویت طلایی داشته باشید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Automatic Zip Code Reader

Computers excel at performing quantitative and repetitive tasks quickly, but they struggle with qualitative tasks, such as handwriting recognition. This is because it is effectively impossible to program recognition of millions of different handwriting styles into one algorithm. However, with the advent of machine learning, computers can be trained to recognize unknown objects and characters by...

متن کامل

Lempel-Zip Complexity Reference

The aim of this note is to provide some reference facts for LZW---mostly from Thomas and Cover \cite{Cover:2006aa} and provide a reference for some metrics that can be derived from it. LZW is an algorithm to compute a Kolmogorov Complexity estimate derived from a limited programming language that only allows copy and insertion in strings (not Turing complete set). Despite its delightful simplic...

متن کامل

Wrap&Zip decompression

The Edgebreaker compression [16, 11] is guaranteed to encode any unlabeled triangulated planar graph of t triangles with at most 1.84t bits. It stores the graph as a CLERS stringa sequence of t symbols from the set {C,L,E,R,S}, each represented by a 1, 2 or 3 bit code. We show here that, in practice, the string can be further compressed to between 0.91t and 1.26t bits using an entropy code. Th...

متن کامل

The ZIP-prion connection.

The evolutionary origins of vertebrate prion genes had remained elusive until recently when multiple lines of evidence converged to the proposition that members of the prion gene family represent an ancient branch of a larger family of ZIP metal ion transporters. (1) A follow-up investigation which explored the mechanism of evolution in more detail led to the surprising conclusion that the emer...

متن کامل

Zip-related genital injury.

OBJECTIVE To describe the epidemiology of genital injuries caused by trouser zips and to educate both consumers and the caregivers of patients who sustain such injuries. PATIENTS AND METHODS The National Electronic Injury Surveillance System, a dataset validated to provide a probability sample of patients who present to emergency departments (EDs) in the USA with injuries, was analysed to cha...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: ACM Transactions on Algorithms

سال: 2021

ISSN: ['1549-6333', '1549-6325']

DOI: https://doi.org/10.1145/3476830